import * as types from '../mutation-types'

export const clearBuyingInfo = function({commit, state}, payload) {
  // commit(types.SET_BUYING_QUANTITY, payload.buyingQuantity)
  commit(types.SET_UNIT_PRICE, payload.unitPrice)
  commit(types.SET_UNIT_RATE, payload.unit)
  commit(types.SET_REFUND_RATE, payload.refundRate)
  commit(types.SET_TOTAL_AMOUNT, payload.totalAmount)
}



